﻿<!doctype html>
<html>
	<!-- InstanceBegin template="/Templates/template1.dwt" codeOutsideHTMLIsLocked="false" -->
	<head>
		<meta charset="utf-8">
		<!-- InstanceBeginEditable name="doctitle" -->
		<title>消息推送</title>
		<!-- InstanceEndEditable -->
		<link href="../css/Pager.css" type="text/css" rel="stylesheet" />
		<link type="text/css" rel="stylesheet" href="../css/default.css" />
		<link type="text/css" rel="stylesheet" href="../css/style.css" />
		<link href="shadowbox/shadowbox.css" rel="stylesheet" />
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript" src="../js/utils.js"></script>
		<script type="text/javascript" src="../js/qmsk-1.1.js"></script>
		<script type="text/javascript" src="../js/jquery.pager.js"></script>
		<script type="text/javascript" src="../js/checkLogin.js"></script>
		<script type="text/javascript" src="../js/doubleDate2.0.js"></script>
		<script type="text/javascript" src="../js/pagination.js"></script>
		<script type="text/javascript" src="../js/ajaxfileupload.js"></script>
		<script type="text/javascript" src="../js/ImageBrowsing.js"></script>
		<script type="text/javascript" charset="utf-8" src="../js/kindeditor.js"></script>
		<script type="text/javascript" src="../js/commonSelecter.js"></script>
		<script charset="utf-8" src="../js/lang/zh_CN.js"></script>
		<script charset="utf-8" src="../js/editor.js"></script>
		<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
		<script type="text/javascript" src="../js/shopSelecterNew.js"></script>
		<script src="message.js"></script>
	</head>
	<body>
		<!-- InstanceBeginEditable name="EditRegion3" -->
		<div id="yinying"></div>
		<div id="yinying1"></div>
		<div id='addPanel' class="member_search publish WX hideDiv">
			<div class="closeTop">
				<span onclick="closeParent($(this))" class="closeThe"><img src="../images/close.png"></span>
			</div>
			<form name="fm1" action="#" target="post">
				<input type="hidden" id="updateId">
				<input type="hidden" id="doflag" value="1">
				<p>
					<span> 店面：</span>
					<input type="text" id="addShopName" class="reset" readonly="readonly">
					<input type="hidden" id="addShopId" />
					<input type="button" class="btn" value="…" onclick="selectAddShop()" >
				</p>
				<p>
					<span>标题：</span>
					<input type="text" id="addTitle" class="reset">
				</p>
				<p>
					<span>图片：</span>
					<input type="text" class="reset" id="addImageUrl" readonly="readonly">
					<input type="button" class="btn" value="…">
					<input type="file" id="uploadImage" name="uploadImage" class="file reset">
					<span id="addImage" class="onlyImgSrc actorImg"> <img src="../images/img_activities1.jpg" ></span>
				</p>
				<p>
					<span>类型：</span>
					<select id="addType"></select>
				</p>
				<p>
					<span>生效日期：</span>
					<input type="text" class="doubledate" id="effectDate" />
				</p>
				<p>
					<span>失效日期：</span>
					<input type="text" class="doubledate" id="unEffectDate" />
				</p>
				<p>
					<span>详细页：</span>
					<input type="text" id="Url"  class="reset">
					<input type="button" class="btn"  value="编辑页面" id="editIndex_btn" style="font-size:12px;font-weight:normal;">
				</p>

				<p>
					<span>关键词：</span>
					<input type="text" id="addKeyWord" class="reset">
				</p>
				<p>
					<span>状态：</span>
					<select id="addStatus">
						<option value="0">使用</option><option value="1">停用</option>
					</select>
				</p>
				<p>
					<span>顺序：</span>
					<input type="text" id="orderNums" />
				</p>
				<p>
					<span>文本：</span>
					&nbsp; 					<textarea id="addContent" class="reset"></textarea>
				</p>
				<div class="BottomBtn">
					<input type="button" id="addOrUpdate"  value="立即提交">
				</div>
			</form>
		</div>
		<div class="container" id="container">
			<div class="container_R fr">
				<div class="place">
					消息推送
				</div>
				<div class="member_search">
					<p>
						<span>
							<input type="checkbox" id="shopIsChoosed" style="width:auto;height:auto;border:none;">
							店面：</span>
						<select id="shopName" onclick="openShopListPanel(this)" disabled="disabled"></select>
						<span>标题：</span>
						<input type="text" id="searchTitle" class="absoluteTxt" >
						<span>类型选项：</span>
						<select id="searchType"></select>
					<p>
					<p>
						<span>有效期 从：</span>
						<input type="text" id="startDate1" class="doubledate" />
						<span>到：</span>
						<input type="text" id="startDate2" class="doubledate" />
						<span>创建日期：</span>
						<input type="text" id="createFileDate" class="doubledate" />
					</p>
					<p>
						<input class="btn" id="research" name="查询" type="button" value="查询" onclick="search()" />
					</p>

				</div>
				<table width="100%" class="member_list" cellpadding="0" cellspacing="1" border="0" id="funcMenuList">
					<caption>
						<strong>信息列表 <span id="sup">共0条</span> </strong>
						<input type="button" class="common_btn" value="增加" onclick="openAddPanel()">
					</caption>
					<thead>
						<tr>
							<th>店面</th>
							<th>信息类型</th>
							<th>标题</th>
							<th>图片</th>
							<!--
							<th>文本</th>
							-->
							<th>链接</th>
							<th>关键词</th>
							<th>生效日期</th>
							<th>失效日期</th>
							<th>建档日期</th>
							<th>阅读人数</th>
							<th>状态</th>
							<th>顺序</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody id="messageList"></tbody>
				</table>
				<div id="NoResult"  class="Nothing" style="text-align:center;display: none;">
					无符合条件的数据！
				</div>
				<div id="pager"></div>
			</div>
			<div class="fc"></div>
		</div>
		<!-- InstanceEndEditable -->
		<script type="text/javascript" src="../js/header.js"></script>
		<script type="text/javascript" src="../js/left.js"></script>
		<script type="text/javascript" src="../js/footer.js"></script>
		<script type="text/javascript">
			clearThis("absoluteTxt");
		</script>
	</body>
	<!-- InstanceEnd -->
</html>
